package thinking.java.initalization.and.clean.up;

/**
 * @author GaoFeng
 * @date 2020/1/3 16:02
 */
public class AutoboxingVarargs {

    public static void f(Integer... args) {
        for (Integer arg : args) {
            System.out.println(arg + " ");
        }
    }

    public static void main(String[] args) {
       f(new Integer(1), new Integer(2));
       f(4, 5, 6, 7, 8);
       f(10, new Integer(11), 12);
    }
}
